home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat3
/
Tcl
/
list.z
/
list
Wrap
Text File
|
1998-10-30
|
2KB
|
67 lines
lllliiiisssstttt((((3333TTTTccccllll)))) lllliiiisssstttt((((3333TTTTccccllll))))
NNNNAAAAMMMMEEEE
list - Create a list
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
lllliiiisssstttt ?_a_r_g _a_r_g ...? |
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
This command returns a list comprised of all the _a_r_gs, or an empty string|
if no _a_r_gs are specified. Braces and backslashes get added as necessary,
so that the iiiinnnnddddeeeexxxx command may be used on the result to re-extract the
original arguments, and also so that eeeevvvvaaaallll may be used to execute the
resulting list, with _a_r_g_1 comprising the command's name and the other
_a_r_gs comprising its arguments. LLLLiiiisssstttt produces slightly different results
than ccccoooonnnnccccaaaatttt: ccccoooonnnnccccaaaatttt removes one level of grouping before forming the
list, while lllliiiisssstttt works directly from the original arguments. For
example, the command
lllliiiisssstttt aaaa bbbb {{{{cccc dddd eeee}}}} {{{{ffff {{{{gggg hhhh}}}}}}}}
will return
aaaa bbbb {{{{cccc dddd eeee}}}} {{{{ffff {{{{gggg hhhh}}}}}}}}
while ccccoooonnnnccccaaaatttt with the same arguments will return
aaaa bbbb cccc dddd eeee ffff {{{{gggg hhhh}}}}
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
element, list
PPPPaaaaggggeeee 1111